package com.agent.web;

import com.agent.annotation.WebLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by fangjicai on 2020/5/31.
 */
@RestController
public class TestController {
    @WebLog("用户Test")
    @GetMapping("/test")
    public String registerUser() throws Exception {
        System.out.println("访问进来了......");
        return "123";
    }
}
